POV-Ray : Newsgroups : povray.general : Stupid vector question : Stupid vector question Server Time
2 Jun 2024 10:15:31 EDT (-0400)
  Stupid vector question  
From: Greg M  Johnson
Date: 12 Sep 2004 21:25:12
Message: <4144f6f8$1@news.povray.org>
#declare Anowdotxz=<1,0,1>*(Veenext-Veenow);

Is this exactly the same result as:

#declare Anowdotxz=<Veenext.x-Veenow.x,0,Veenext.z-Veenow.z>;

My hunch is that it is, but my overall code isn't doing what I expect it to.
Sometimes there's the temptation to introduce sloppy code (the latter) when
I'm afraid I don't understand proper syntax.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.